#!/usr/bin/python3

a = 1
b = 100

sum = 0
i = a
while i <= b:
	sum += i
	i += 1

print ('sum from', a, 'to', b, 'is', sum)